From: Carlos Soriano Date: Tue, 26 Aug 2014 17:10:02 +0000 (+0200) Subject: workspace: Remove tweens of overlay.title before animate again X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2224 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=079809af1d16832079c6b8ce5339270ad70d7f87;p=gnome-shell.git workspace: Remove tweens of overlay.title before animate again Currently we are removing tweens of the button and border, but not from the title. That causes the title to be in wrong positions sometimes when dragging windows on the overview, given that the slider is moving and therefore the windows + overlay are moving too. To avoid that, remove tweens of the title as well. --- diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 7e157add2..ddd043110 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -519,6 +519,7 @@ const WindowOverlay = new Lang.Class({ Tweener.removeTweens(button); Tweener.removeTweens(border); + Tweener.removeTweens(title); let [cloneX, cloneY, cloneWidth, cloneHeight] = this._windowClone.slot;